home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-28 | 647 b | 12 lines | [TEXT/ttxt] |
- This snippet shows how you can add a simple extra part to an existing WDEF and be able to
- do hit testing on the part via FindWindow(). The extra part in this case is on the right
- side of the title bar, just to the left of where the zoombox would be. When hit, it
- inverts the window.
-
- Previous version stomped the variation code bits containing the zoom box data. Fixed this
- by adding some code to mask these bits in if we're in 24-bit mode.
-
- Also, previous version assumed a5 would be set-up inside WDEF code, since it called
- StripAddress which is glue in Think C. Fixed by adding a5 stuff to patch code.
-
-